package com.ruoyi.business.service;

import com.alibaba.fastjson.JSONObject;
import com.ruoyi.business.domain.TOrderInfo;
import com.ruoyi.business.domain.TRecipientInfo;
import com.ruoyi.common.exception.ServiceException;

import java.io.UnsupportedEncodingException;

public interface CommonService {




    JSONObject getPoxyIp(TOrderInfo orderInfo) throws ServiceException, UnsupportedEncodingException;
    JSONObject getPoxyIp(String regionCode) ;
    JSONObject getIpPort(TRecipientInfo recipientInfo) throws ServiceException, UnsupportedEncodingException;

    String[] getAddresBy138Ip(String ip,String token);

    JSONObject getPoxyIp(String province,String city) throws ServiceException, UnsupportedEncodingException;

    JSONObject getPoxyObjByIp(String ip) throws ServiceException, UnsupportedEncodingException;


}
